package com.le.edu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.le.edu.domain.entity.Subject;
import com.le.edu.domain.screen.PieVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author 17447
 * @description 针对表【t_subject(课程科目)】的数据库操作Service
 * @createDate 2024-04-07 17:25:14
 */
public interface SubjectService extends IService<Subject> {

    List<Subject> listWithTree();

    String importData(MultipartFile file);

    List<PieVO> computeCourseCountBySubject();

    List<PieVO> computeSubjectCount();
}
